Tor Lillqvist [Mon, 8 Dec 2003 22:43:51 +0000 (22:43 +0000)]
Use <multimon.h> when compiling with MSVC and old headers. (#126933, John
2003-12-08 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
with MSVC and old headers. (#126933, John Ehresman)
Owen Taylor [Mon, 8 Dec 2003 22:31:32 +0000 (22:31 +0000)]
=== Released 2.3.1 ===
Mon Dec 8 10:54:44 2003 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.1 ===
* NEWS: Updates for 2.3.1
* configure.in: Version 2.3.1, interface age 0, binary age 301.
* gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
Rename from gtk_menu_item_real_can_activate_accel() to
match GTK+ convention, improve comment.
* gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
can ::can-activate-accel signal.
* gtk/gtkwidget.c (closure_accel_activate): Fix spelling
in comment.
* gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
up comment.
* gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
into the .c file.
Mon Dec 8 12:09:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkicontheme.c (find_builtin_icon): Fix a
missing 'else'. (#128816, Jorn Baayen)
Federico Mena Quintero [Mon, 8 Dec 2003 22:28:27 +0000 (22:28 +0000)]
New chapter about how to migrate from gnome-ui/bonobo-ui/etc. to
2003-12-08 Federico Mena Quintero <federico@ximian.com>
* gtk/migrating-GtkAction.sgml: New chapter about how to migrate
from gnome-ui/bonobo-ui/etc. to GtkAction.
* gtk/gtk-docs.sgml: Integrated the above.
* gtk/Makefile.am (content_files): Added migrating-GtkAction.sgml.
Matthias Clasen [Mon, 8 Dec 2003 21:07:17 +0000 (21:07 +0000)]
Actually commit RTL flipping changes for GtkNotebook which I already
ChangeLogged on Friday.
Michael Meeks [Mon, 8 Dec 2003 17:13:13 +0000 (17:13 +0000)]
Based on a patch by Martin Kretzschmar; #122448
2003-12-02 Michael Meeks <michael@ximian.com>
Based on a patch by Martin Kretzschmar; #122448
* gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
(GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
function pointers. Deprecate the global gdk_threads_mutex variable.
* gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
extracted from GTK_THREADS_ENTER/LEAVE macros.
(gdk_threads_init): init gtk_threads_[un]lock if not set.
(gdk_threads_set_lock_functions): impl.
* gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
Tim Janik [Mon, 8 Dec 2003 16:02:25 +0000 (16:02 +0000)]
fix comment typo
Miloslav Trmac [Mon, 8 Dec 2003 12:14:11 +0000 (12:14 +0000)]
Update Czech translation
Paisa Seeluangsawat [Sun, 7 Dec 2003 22:57:54 +0000 (22:57 +0000)]
Added Thai (th) translation.
2003-12-07 Paisa Seeluangsawat <paisa@users.sf.net>
* th.po: Added Thai (th) translation.
Matthias Clasen [Sun, 7 Dec 2003 22:53:22 +0000 (22:53 +0000)]
Don't crash if icon_theme_builtin_icons hasn't been initialized. (#128726,
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
Gonzalez)
Duarte Loreto [Sun, 7 Dec 2003 15:35:34 +0000 (15:35 +0000)]
Updated and revised Portuguese translation.
2003-12-07 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated and revised Portuguese translation.
Tor Lillqvist [Sun, 7 Dec 2003 11:03:08 +0000 (11:03 +0000)]
Don't use the return value from SendMessage(WM_SETICON). That is the old
2003-12-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
return value from SendMessage(WM_SETICON). That is the old
icon. Fixes GDI resource leak. (#128559, Tim Evans)
Tor Lillqvist [Sun, 7 Dec 2003 06:56:30 +0000 (06:56 +0000)]
If we already have a pointer grab active with a grab cursor set, destroy
2003-12-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
have a pointer grab active with a grab cursor set, destroy that
cursor to avoid a GDI resource leak. (#128410, Tim Evans)
Paisa Seeluangsawat [Sat, 6 Dec 2003 03:13:24 +0000 (03:13 +0000)]
Added Thai (th) translation. Added Thai (th) to ALL_LINGUAS.
2003-12-05 Paisa Seeluangsawat <paisa@users.sf.net>
* th.po: Added Thai (th) translation.
* configure.in: Added Thai (th) to ALL_LINGUAS.
Matthias Clasen [Sat, 6 Dec 2003 00:41:38 +0000 (00:41 +0000)]
Implement RTL flipping for GtkAlignment. (#127585)
Sat Dec 6 01:42:04 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
RTL flipping for GtkAlignment. (#127585)
Matthias Clasen [Sat, 6 Dec 2003 00:12:46 +0000 (00:12 +0000)]
Fix the position of the popup window when in RTL mode. (#127578)
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
popup window when in RTL mode. (#127578)
Manish Singh [Fri, 5 Dec 2003 23:33:59 +0000 (23:33 +0000)]
Applied patch from Ross McFarland <rwmcfa1@neces.com>, initialize *count_p
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
before doing anything to prevent garbage returns.
Matthias Clasen [Fri, 5 Dec 2003 23:31:51 +0000 (23:31 +0000)]
Implement RTL flipping for GtkViewport: Adjust the "gravity" when resizing
Sat Dec 6 00:23:46 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkviewport.c: Implement RTL flipping for
GtkViewport: Adjust the "gravity" when resizing
This is a bit flickery in RTL mode. (#107526)
Sat Dec 6 00:22:14 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c: Implement RTL flipping for
GtkScrolledWindow: the vertical scrollbar shows up on the left
side in RTL mode. (#107526)
Christian Neumair [Fri, 5 Dec 2003 14:42:50 +0000 (14:42 +0000)]
Updated German translation.
Mark McLoughlin [Thu, 4 Dec 2003 18:17:23 +0000 (18:17 +0000)]
Allow gtk_label_set_attributes() take NULL. See bug #128517.
2003-12-04 Mark McLoughlin <mark@skynet.ie>
* gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
gtk_label_set_attributes() take NULL. See bug #128517.
Vincent van Adrighem [Thu, 4 Dec 2003 15:34:22 +0000 (15:34 +0000)]
Dutch translation updated by Tino Meinen.
2003-12-04 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Federico Mena Quintero [Thu, 4 Dec 2003 02:13:27 +0000 (02:13 +0000)]
Removed the in_change flag. (completion_idle_callback): Use a temporary
2003-12-03 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
the in_change flag.
(completion_idle_callback): Use a temporary list store and re-set
it on the completion rather than modifying the old one. We are
re-reading the folder anyway, and this gets rid of non-atomicity
problems.
Miloslav Trmac [Wed, 3 Dec 2003 19:14:54 +0000 (19:14 +0000)]
Update Czech translation
Vincent van Adrighem [Wed, 3 Dec 2003 17:43:06 +0000 (17:43 +0000)]
Dutch translation updated by Tino Meinen.
2003-12-03 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Sanlig Badral [Wed, 3 Dec 2003 09:55:20 +0000 (09:55 +0000)]
Updated Mongolian translation
Danilo Šegan [Wed, 3 Dec 2003 03:17:25 +0000 (03:17 +0000)]
Updated Serbian translation.
2003-12-03 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Added gtk/gtkfilesystemwin32.c.
Åsmund Skjæveland [Tue, 2 Dec 2003 08:54:18 +0000 (08:54 +0000)]
Updated Norwegian Nynorsk translation.
2003-12-02 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Federico Mena Quintero [Tue, 2 Dec 2003 04:23:06 +0000 (04:23 +0000)]
Decouple impl->current_folder from the selection in the folder tree. This
2003-12-01 Federico Mena Quintero <federico@ximian.com>
Decouple impl->current_folder from the selection in the folder
tree. This is so that going to /home/federico/.foo (e.g. from a
bookmark) will work even if show_hidden == FALSE. The folder tree
needs to be fixed in this case to show such folders explicitly.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): When changing
folders, do the entry and list model work here, instead of
tree_selection_changed().
(struct _GtkFileChooserDefault): Added a changing_folder flag
again, dum de dum.
(tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
Matthias Clasen [Tue, 2 Dec 2003 00:18:43 +0000 (00:18 +0000)]
Remove duplicate declaration of gtk_icon_source_set_icon_name(). (#Jeff
Tue Dec 2 01:01:54 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Remove duplicate declaration of
gtk_icon_source_set_icon_name(). (#Jeff Franks, #128269)
Vincent van Adrighem [Mon, 1 Dec 2003 22:44:08 +0000 (22:44 +0000)]
Dutch translation updated by Tino Meinen.
2003-12-01 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Federico Mena Quintero [Mon, 1 Dec 2003 18:57:17 +0000 (18:57 +0000)]
Patch from Hans-Petter Jansson <hpj@ximian.com> to align the bookmarks
2003-12-01 Federico Mena Quintero <federico@ximian.com>
Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
bookmarks buttons with the location entry.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
bookmarks buttons and the location entry.
cinamod [Mon, 1 Dec 2003 18:56:34 +0000 (18:56 +0000)]
fix expander's +/- part coloration
Federico Mena Quintero [Mon, 1 Dec 2003 15:33:37 +0000 (15:33 +0000)]
Set the shortcuts tree as a drag destination.
2003-12-01 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
shortcuts tree as a drag destination.
(shortcuts_drag_data_received_cb): New callback.
(get_file_info): Also fetch information on whether the file is a folder.
(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
(error_could_not_add_bookmark_dialog): New function.
(shortcuts_add_bookmark_from_path): New helper function.
(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
(shortcuts_row_activated): We no longer need the changing_folder flag.
(struct _GtkFileChooserDefault): Likewise.
Soeren Sandmann [Sun, 30 Nov 2003 16:37:38 +0000 (16:37 +0000)]
return TRUE if there are disappearing placeholders that are still visible.
Sun Nov 30 17:31:32 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
disappearing placeholders that are still visible.
* gtk/gtktoolbar.c: formatting fixes
* gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
disappearing, for placeholders that are going to disappear.
* gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
Jonathan Blandford [Sat, 29 Nov 2003 06:16:11 +0000 (06:16 +0000)]
Patch from <chinen@jp.ibm.com> to handle RTL support for column resizers,
Sat Nov 29 00:55:28 2003 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreeview.c (gtk_tree_view_new_column_width):
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
Patch from <chinen@jp.ibm.com> to handle RTL support for column
resizers, #127874
Matthias Clasen [Thu, 27 Nov 2003 23:27:40 +0000 (23:27 +0000)]
Don't use freed memory. (#127698, Taavi Talvik)
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
Don't use freed memory. (#127698, Taavi Talvik)
Matthias Clasen [Thu, 27 Nov 2003 23:08:51 +0000 (23:08 +0000)]
Remove debug g_print()s.
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
Matthias Clasen [Thu, 27 Nov 2003 21:17:41 +0000 (21:17 +0000)]
Remove debug define.
Thu Nov 27 22:17:50 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Remove debug define.
Tim Janik [Thu, 27 Nov 2003 15:51:32 +0000 (15:51 +0000)]
allow accel activation depending on sensitivity and the attach widget.
Thu Nov 27 16:19:03 2003 Tim Janik <timj@gtk.org>
* gtk/gtkmenu.c: allow accel activation depending on sensitivity
and the attach widget.
* gtk/gtkmenuitem.c: allow accel activation depending on visibility,
sensitivity and the parent menu.
* gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
checks whether accelerators may activate a widget. the default handler
demands the widget be sensitive and visible+viewable.
* gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
cinamod [Wed, 26 Nov 2003 18:03:14 +0000 (18:03 +0000)]
fix coloration in several gimp widgets
Miloslav Trmac [Tue, 25 Nov 2003 15:41:36 +0000 (15:41 +0000)]
Update Czech translation
Matthias Clasen [Mon, 24 Nov 2003 23:24:40 +0000 (23:24 +0000)]
Don't show accelerators in popup menus. (#127227)
Tue Nov 25 00:10:05 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (update_node): Don't show accelerators in
popup menus. (#127227)
cinamod [Mon, 24 Nov 2003 15:05:48 +0000 (15:05 +0000)]
fix menu bar bgs
GMT 2003 Tony Gale [Mon, 24 Nov 2003 13:49:16 +0000 (13:49 +0000)]
start 2.x Section 4 updates
Mon Nov 24 13:47:39 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
Soeren Sandmann [Mon, 24 Nov 2003 03:09:32 +0000 (03:09 +0000)]
Make this function take a GtkRadioToolButton instead of a GtkWidget.
Mon Nov 24 04:05:15 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
(gtk_radio_tool_button_new_from_widget): Make this function take a
GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
Cumming)
Soeren Sandmann [Mon, 24 Nov 2003 01:38:52 +0000 (01:38 +0000)]
remove variables in_dnd and leaving_dnd
Mon Nov 24 02:34:00 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
Soeren Sandmann [Mon, 24 Nov 2003 01:23:04 +0000 (01:23 +0000)]
remove variable n_overflowed_menu_items_when_dnd_started
Mon Nov 24 02:19:33 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c: remove variable
n_overflowed_menu_items_when_dnd_started
Soeren Sandmann [Mon, 24 Nov 2003 01:01:43 +0000 (01:01 +0000)]
Rework sliding algorithm. - No more weird jumping when items are dragged
Mon Nov 24 01:47:10 2003 Soeren Sandmann <sandmann@daimi.au.dk>
Rework sliding algorithm.
- No more weird jumping when items are dragged off and added to
the toolbar,
- More natural item movement
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
function is now responsible for calculating intermediate positions
during item sliding. It is also responsible for starting sliding
if items disappear. Also turn off expanding when there is an
overflow menu.
(gtk_toolbar_begin_sliding, stop_sliding): New functions.
(slide_idle_handler): New function. All the sliding is now done by
gtk_toolbar_size_allocate(), so the idle handler now just checks
if there is more sliding to be done.
(compute_intermediate_allocation, position): new functions
calculating intermediate steps in the slide animations. The new
animation algorithm uses a constant speed instead of a constant
must-be-finished-within time.
(struct _ToolbarContent): use
GtkAllocation goal_allocation; and
GtkAllocation start_allocation; instead of
gint start/goal_width;
* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
documentation
Matthias Clasen [Sun, 23 Nov 2003 21:27:50 +0000 (21:27 +0000)]
Make tooltip positioning Xinerama-aware. (#127332)
Sun Nov 23 22:26:25 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip
positioning Xinerama-aware. (#127332)
Matthias Clasen [Sun, 23 Nov 2003 20:00:25 +0000 (20:00 +0000)]
Add a missing comma.
Sun Nov 23 21:00:33 2003 Matthias Clasen <maclas@gmx.de>
* gtk/tree_widget.sgml: Add a missing comma.
Kostas Papadimas [Sat, 22 Nov 2003 12:33:58 +0000 (12:33 +0000)]
Updated the Greek translation
Matthias Clasen [Fri, 21 Nov 2003 01:02:45 +0000 (01:02 +0000)]
Make monitor boundaries visible in fake Xinerama mode.
Fri Nov 21 01:57:21 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
boundaries visible in fake Xinerama mode.
Manish Singh [Thu, 20 Nov 2003 23:42:08 +0000 (23:42 +0000)]
cast to GTK_WIDGET() for the gtk_widget_hide() call.
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Matthias Clasen [Thu, 20 Nov 2003 23:10:05 +0000 (23:10 +0000)]
Remove leftover documentation of the filter functionality that got removed
Fri Nov 21 00:09:36 2003 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkfontsel.sgml:
* gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of
the filter functionality that got removed long ago.
Danilo Šegan [Thu, 20 Nov 2003 22:33:33 +0000 (22:33 +0000)]
Another update.
2003-11-20 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Another update.
Danilo Šegan [Thu, 20 Nov 2003 22:28:13 +0000 (22:28 +0000)]
Updated Serbian translation.
2003-11-20 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Jonathan Blandford [Thu, 20 Nov 2003 20:14:22 +0000 (20:14 +0000)]
Patch from David Hampton to fix sorting on booleans.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
from David Hampton to fix sorting on booleans.
Soeren Sandmann [Thu, 20 Nov 2003 15:03:27 +0000 (15:03 +0000)]
Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
by Frederic Crozat).
GMT 2003 Tony Gale [Thu, 20 Nov 2003 13:11:41 +0000 (13:11 +0000)]
Update Section 3 to 2.x
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
Federico Mena Quintero [Wed, 19 Nov 2003 22:38:31 +0000 (22:38 +0000)]
Fixes to problems reported by Iain Holmes:
2003-11-19 Federico Mena Quintero <federico@ximian.com>
Fixes to problems reported by Iain Holmes:
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel
yet.
(list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm).
Raymond Penners [Wed, 19 Nov 2003 22:26:45 +0000 (22:26 +0000)]
0.5.2
Kristian Rietveld [Wed, 19 Nov 2003 22:26:42 +0000 (22:26 +0000)]
move function to a somewhat more logical place,
Wed Nov 19 23:19:23 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
to a somewhat more logical place,
(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
Kristian Rietveld [Wed, 19 Nov 2003 21:26:27 +0000 (21:26 +0000)]
always resize the popup when it is visible, popdown when there are less
Wed Nov 19 22:15:01 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
the popup when it is visible, popdown when there are less chars
than the minimum key length in the entry,
(gtk_entry_completion_changed): popdown when the entry is empty.
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
size request of the vscrollbar to (-1, 0), to get a nicely sized
completion treeview (Fixes #126573, reported by Piers Cornwell),
(_gtk_entry_completion_resize_popup): show/hide the action_view
based on items.
Federico Mena Quintero [Wed, 19 Nov 2003 20:45:17 +0000 (20:45 +0000)]
Turn off the dialog's separator (thanks to Iain Holmes).
2003-11-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
off the dialog's separator (thanks to Iain Holmes).
Miloslav Trmac [Wed, 19 Nov 2003 20:31:32 +0000 (20:31 +0000)]
Update Czech translation
Soeren Sandmann [Wed, 19 Nov 2003 19:44:45 +0000 (19:44 +0000)]
set to 200 instead of 225 Impose a minimum width on items that have a
Wed Nov 19 18:15:00 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
* gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
on items that have a submenu. (#120104).
Wed Nov 19 18:11:08 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
"ItemState" field indicating the overflowed-ness etc. of the item.
(gtk_toolbar_size_allocate): update the field here.
Federico Mena Quintero [Wed, 19 Nov 2003 17:03:32 +0000 (17:03 +0000)]
Added a render_icon virtual method.
2003-11-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
render_icon virtual method.
* gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
Implement as a stub for now.
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
gtk_file_system_render_icon().
(list_icon_data_func): Likewise.
(toolbar_create): Set the toolbar style to icons only.
* gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
Fix doc comments.
Matthias Clasen [Wed, 19 Nov 2003 01:21:46 +0000 (01:21 +0000)]
Call gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Kristian Rietveld [Tue, 18 Nov 2003 23:12:10 +0000 (23:12 +0000)]
only unselect all items if the treeview has focus. (Fixes bug reported by
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
only unselect all items if the treeview has focus. (Fixes bug
reported by Marco Pesenti Gritti).
Federico Mena Quintero [Tue, 18 Nov 2003 22:50:26 +0000 (22:50 +0000)]
Added sections section about generating previews and including extra
2003-11-18 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: Added sections section about
generating previews and including extra widgets.
* gtk/gtk-docs.sgml: Added a part about migrating old code to new
widgets.
* gtk/migrating-GtkFileChooser.sgml: New file.
* gtk/Makefile.am (content_files): Added
migrating-GtkFileChooser.sgml.
Kristian Rietveld [Tue, 18 Nov 2003 21:38:54 +0000 (21:38 +0000)]
the total number of actions is "matches + actions - 1". (Fixes #126572).
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
number of actions is "matches + actions - 1". (Fixes #126572).
Christian Persch [Tue, 18 Nov 2003 20:09:33 +0000 (20:09 +0000)]
fix mem leaks (#119435).
Tue Nov 18 21:05:05 2003 Christian Persch <chp@cvs.gnome.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
mem leaks (#119435).
Kristian Rietveld [Tue, 18 Nov 2003 19:57:14 +0000 (19:57 +0000)]
don't try to fetch the child back, since we do know that it is already
Tue Nov 18 20:51:38 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
try to fetch the child back, since we do know that it is already
gone by now (#126493, Marco Pesenti Gritti).
Kristian Rietveld [Tue, 18 Nov 2003 19:02:30 +0000 (19:02 +0000)]
Fixes based on comments from Owen Taylor, #125264.
Tue Nov 18 19:47:59 2003 Kristian Rietveld <kris@gtk.org>
Fixes based on comments from Owen Taylor, #125264.
* gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
variable,
(gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
a resize,
(gtk_cell_view_get_size_of_row): new function,
(gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
(gtk_cell_view_set_values), (gtk_cell_view_set_model),
(gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
s/cellview/cell_view/ in the function definitions, so they match
with the header file.
* gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
flag again (:, and use gtk_cell_view_get_size_of_row instead of
the measurer, remove _set_size_request call,
(gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
instead of the measurer,
(gtk_combo_box_style_set): queue a resize,
(gtk_combo_box_size_request): update of _remeasure call,
(gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
(gtk_combo_box_cell_layout_pack_end),
(gtk_combo_box_cell_layout_clear),
(gtk_combo_box_set_model): get rid of the measurer,
(gtk_combo_box_cell_layout_add_attribute),
(gtk_combo_box_cell_layout_set_cell_data_func),
(gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
resize instead of calling _remeasure.
Christian Rose [Tue, 18 Nov 2003 13:58:28 +0000 (13:58 +0000)]
Updated Swedish translation.
2003-11-18 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Manish Singh [Tue, 18 Nov 2003 00:26:51 +0000 (00:26 +0000)]
gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders and
Mon Nov 17 16:25:04 2003 Manish Singh <yosh@gimp.org>
* gdk-pixbuf/Makefile.am
* modules/input/Makefile.am: Use install-data-hook for
gdk-pixbuf.loaders and gtk.immodules install generation targets.
Fixes #112806.
* gtk/gtkexpander.h: Apply missing declarations from #124449.
Matthias Clasen [Mon, 17 Nov 2003 23:16:49 +0000 (23:16 +0000)]
Fix for #119555, Peter Zelesny:
Tue Nov 18 00:12:55 2003 Matthias Clasen <maclas@gmx.de>
Fix for #119555, Peter Zelesny:
* gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
* gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
by removing the _ prefix.
* gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c,
gdk/gdkwindow.c: Adjust all callers.
Matthias Clasen [Mon, 17 Nov 2003 22:36:27 +0000 (22:36 +0000)]
Only activate if the action is sensitive. (#127187, Christian Persch)
Mon Nov 17 23:36:02 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.c (gtk_action_activate): Only activate if
the action is sensitive. (#127187, Christian Persch)
Matthias Clasen [Mon, 17 Nov 2003 22:29:20 +0000 (22:29 +0000)]
Add gtk_combo_box_new_with_model, gtk_combo_box_set_model.
Mon Nov 17 23:29:21 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_combo_box_new_with_model,
gtk_combo_box_set_model.
Matthias Clasen [Mon, 17 Nov 2003 22:24:57 +0000 (22:24 +0000)]
Add mouse wheel support. (#126517)
Mon Nov 17 23:23:49 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Add mouse wheel support. (#126517)
Kristian Rietveld [Mon, 17 Nov 2003 22:02:21 +0000 (22:02 +0000)]
add _gtk_entry_completion_resize_popup.
Mon Nov 17 22:56:09 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.
* gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
mapped, else resize_popup.
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
(_gtk_entry_completion_popup): moved all popup resizing code to
_gtk_entry_completion_resize_popup, and show the window when there
are more than zero items in the completion list again (sigh).
Noah Levitt [Mon, 17 Nov 2003 20:57:40 +0000 (20:57 +0000)]
Check for freetype headers the way freetype wants us to.
2003-11-17 Noah Levitt <nlevitt@columbia.edu>
* configure.in: Check for freetype headers the way freetype
wants us to.
Mark McLoughlin [Mon, 17 Nov 2003 14:53:06 +0000 (14:53 +0000)]
Patch from Jaiserca <jaiserca@inf.upv.es> to add a "use_markup" property.
2003-11-17 Mark McLoughlin <mark@skynet.ie>
Patch from Jaiserca <jaiserca@inf.upv.es> to add a
"use_markup" property. See bug #124449.
* gtk/gtkexpander.c:
(gtk_expander_class_init),
(gtk_expander_init), (gtk_expander_set_property),
(gtk_expander_get_property), (gtk_expander_set_label),
(gtk_expander_set_use_markup), (gtk_expander_get_use_markup):
Add a "use_markup" property and use it when creating the
child label.
Kristian Rietveld [Mon, 17 Nov 2003 12:10:06 +0000 (12:10 +0000)]
Temporary size requisition fix. Will fix it for real tonight.
Mon Nov 17 12:58:32 2003 Kristian Rietveld <kris@gtk.org>
Temporary size requisition fix. Will fix it for real tonight.
* gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
(gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
a good width for the child,
(gtk_combo_box_cell_layout_add_attribute),
(gtk_combo_box_set_cell_data_func),
(gtk_combo_box_cell_layout_clear_attributes): update.
Kristian Rietveld [Sun, 16 Nov 2003 23:20:23 +0000 (23:20 +0000)]
grrrr. broken pipe.
Kristian Rietveld [Sun, 16 Nov 2003 23:20:15 +0000 (23:20 +0000)]
Fixes #124373, Murray Cumming.
Mon Nov 17 00:11:21 2003 Kristian Rietveld <kris@gtk.org>
Fixes #124373, Murray Cumming.
* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
is no longer construct only,
(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
(gtk_combo_box_menu_fill): new functions,
(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
(gtk_combo_box_list_destroy): updated,
(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
functions,
(gtk_combo_box_set_model): is now public, updated,
(gtk_combo_box_get_model): small update.
* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
text_column property is no longer construct only,
(gtk_combo_box_entry_set_text_column): now public,
(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
new/changed functions.
* tests/testcombo.c: updated.
Matthias Clasen [Sun, 16 Nov 2003 21:54:37 +0000 (21:54 +0000)]
Reinstate fixes for (#124212, Marco Pesenti Gritti):
Sun Nov 16 22:50:58 2003 Matthias Clasen <maclas@gmx.de>
Reinstate fixes for (#124212, Marco Pesenti Gritti):
* gtk/gtkuimanager.c (update_smart_separators): Don't spit
warnings for popups.
(_gtk_menu_is_empty): Return FALSE for non-menus.
Kristian Rietveld [Sun, 16 Nov 2003 20:53:07 +0000 (20:53 +0000)]
just call gtk_cell_view_cell_layout_clear instead of trying to free the
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
gtk_cell_view_cell_layout_clear instead of trying to free the
structure ourselves here. (#125726, Morten Welinder).
Matthias Clasen [Sat, 15 Nov 2003 23:44:33 +0000 (23:44 +0000)]
Fix parameter name mismatches which confuse gtk-doc.
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
confuse gtk-doc.
Sun Nov 16 00:41:48 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.
Sun Nov 16 00:32:18 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Move GtkFileChooser out of the
private section, in order to get the autogenerated docs
on hierarchy, signals, properties, etc.
Hans Breuer [Sat, 15 Nov 2003 20:35:55 +0000 (20:35 +0000)]
updated added all the new tests
2003-11-15 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gdk/gdk.def
gtk/gtk.def gtk/makefile.msc.in : updated
* tests/makefile.msc : added all the new tests
* gtk/gtkfilefilter.c(finalize) : initialize filter
from object not from itself
* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
modified as less as posible to have aworking implementation
on win32. There maybe the desire to merge the unchanged pats into
a common base class.
Also implemented a simple glib based bookmark handling, which
is currently missing in gtkfilesystemunix.[hc] but can be copied
over there.
* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
* gdk/win32/gdkwindow-win32.c : implement
gdk_window_set_keep_above() and gdk_window_set_keep_below()
* tests/testmerge.c : don't include unistd.h unconditionally,
#define STDOUT_FILENO if it isn't defined
* tests/testfilechooser.c : make it compile on win32
Artur Flinta [Sat, 15 Nov 2003 14:33:40 +0000 (14:33 +0000)]
Updated Polish translation
Tor Lillqvist [Sat, 15 Nov 2003 04:22:16 +0000 (04:22 +0000)]
If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
Matthias Clasen [Fri, 14 Nov 2003 23:28:01 +0000 (23:28 +0000)]
Check that the mask is NULL or a string of the same length consisting
Sat Nov 15 00:26:19 2003 Matthias Clasen <maclas@gmx.de>
* queryloaders.c (loader_sanity_check): Check that the mask
is NULL or a string of the same length consisting entirely of
' ', '!', 'x', 'z', 'n'.
cinamod [Fri, 14 Nov 2003 17:51:31 +0000 (17:51 +0000)]
fix background colors for brick
Danilo Šegan [Thu, 13 Nov 2003 23:25:44 +0000 (23:25 +0000)]
Updated Serbian translation.
2003-11-14 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Vincent van Adrighem [Thu, 13 Nov 2003 18:19:11 +0000 (18:19 +0000)]
Dutch translation updated by Tino Meinen.
2003-11-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Jordi Mallach [Thu, 13 Nov 2003 14:22:49 +0000 (14:22 +0000)]
Updated Catalan translation.
GMT 2003 Tony Gale [Thu, 13 Nov 2003 12:56:25 +0000 (12:56 +0000)]
Update the rest of Section 2
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
Matthias Clasen [Thu, 13 Nov 2003 00:48:03 +0000 (00:48 +0000)]
Use GTK_DATADIR/{icons,pixmaps} instead of
Thu Nov 13 01:46:32 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (gtk_icon_theme_init): Use
GTK_DATADIR/{icons,pixmaps} instead of
GTK_DATA_PREFIX/{icons,pixmaps}. (#123365, Marco Pesenti Gritti)
Matthias Clasen [Wed, 12 Nov 2003 22:49:02 +0000 (22:49 +0000)]
Use the event window of the menuitem to determine the monitor. This fixes
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event
window of the menuitem to determine the monitor. This fixes some
Matthias Clasen [Wed, 12 Nov 2003 20:53:03 +0000 (20:53 +0000)]
Changes to improve menu positioning on Xinerama (#108328):
Wed Nov 12 21:40:10 2003 Matthias Clasen <maclas@gmx.de>
Changes to improve menu positioning on Xinerama (#108328):
* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
to store the monitor on which the menu is to be positioned.
* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
in the GtkMenuPrivate struct and fetch the monitor geometry after
calling the position_func, in case it has been changed.
* gtk/gtkmenu.c (gtk_menu_set_monitor): New function
to be used in GtkMenuPositionFunc implementations for setting
the monitor_num field in GtkMenuPrivate.
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call
gtk_menu_set_monitor.